//
//  UserInfoManager.h
//  MemberProject
//
//  Created by MAC OS X on 15/4/14.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ModelUser.h"
#import "ModelInsurance.h"
#import "UserClaimInput.h"
@interface UserInfoManager : NSObject<UIAlertViewDelegate>
+ (UserInfoManager *)sharedManager;

@property (nonatomic,strong) ModelUser *modelMser;

@property (nonatomic,copy) NSString *userPassword;

@property (nonatomic,strong ) AFHTTPRequestOperation *operation;

//@property (nonatomic,strong) ModelInsurance *userInsurance;

@property(strong,nonatomic)UserClaimInput *userClaimInput;
-(void)writeLocalLog:(NSDictionary *)dic;

-(NSDictionary *)getLocalLog;

-(void)removeUserFile;

-(void)presentLoginViewController:(UIViewController *)VC andIsLogin:(CSVoidBlock)successBlock;

-(void)refreshUserInfo;

-(void)changePassword:(NSString *)newPasswordMD5;

//-(void)setupUserInsurance:(CSVoidBlock)resultBlock;
@end

